namespace java com.dtxy.data

const string SPARK_EXECUTOR_MEMORY_KEY = 'spark.executor.memory'
const string SPARK_EXECUTOR_MEMORY_VALUE = '1g'
const string SPARK_SERIALIZER_KEY = 'spark.serializer'
const string SPARK_SERIALIZER_VALUE = 'org.apache.spark.serializer.KryoSerializer'

service CompeThrift
{
  string test(1:string test)
  string compe(1:string hdfsPath,2:i32 taskNum,3:string executorMemory)
  string compeWithPath(1:string hdfsPath, 2:i32 taskNum, 3:map<string, string> paramsMap)
  string compeWithList(1:list<string> jsList, 2:i32 taskNum, 3:map<string, string> paramsMap)
}